home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: in2.uu.net!world!mv!usenet
- From: ENGR@GSSI.MV.COM (Michael Furman)
- Subject: Re: What are the differences between structures and classes in C++ ?
- Message-ID: <DpJx5E.6t1@mv.mv.com>
- Mime-Version: 1.0
- Content-Type: Text/Plain; charset=US-ASCII
- Organization: GSSI
- Date: Mon, 8 Apr 1996 16:15:14 GMT
- References: <4k5m65$av@hpscit.sc.hp.com>
- X-Newsreader: WinVN 0.99.7
- X-Nntp-Posting-Host: gssi.mv.com
-
- In article <4k5m65$av@hpscit.sc.hp.com>, raghur says...
- >
- >Hi,
- > Please mail me the differences between structures and classes in C++.
- >Raghu.
- >
-
- There are exactly the same except only one thing: default protection mode
- for members. For classes it is "private", for structures - "public".
-
- May be you want to know about closest analog for the "C" strictures in C++.
- It is aggregate classes - classes without constructors, private or protected
- members, base classes or virtual functions.
-
-
- --
- <<< If you received it by E-mail: it is a copy of post to the newsgroup >>>
- ---------------------------------------------------------------
- Michael Furman, (603)893-1109
- Geophysical Survey Systems, Inc. fax:(603)889-3984
- 13 Klein Drive - P.O. Box 97 engr@gssi.mv.com
- North Salem, NH 03073-0097 71543.1334@compuserve.com
- ---------------------------------------------------------------
-
-